import openpyxl

data = openpyxl.load_workbook('数据持久化\疫苗数据.xlsx')
print(data)

print(data.sheetnames)
print(data.worksheets[0])
sheet1 = data['上海市']
# print(sheet1['a1'])
# for i in sheet1['a1:c2']:
#   for j in i:
#     print(j.value, end='\t')
#   print ('\n')
# for i in range(1,3):
#   for j in range(1,4):
#     print(sheet1.cell(i,j).value)
print(sheet1[1][1]=)
# for i in sheet1.rows:
#   print(i)